#ifndef DS_SQUIRREL_GRAPHICS_H
#define DS_SQUIRREL_GRAPHICS_H

#include <lib\squirrel\sqplus.h>
#include <DelGE.h>
#include "delge_squirrelglobals.h"
#include "delge_squirrelresourcemanager.h"

using namespace SqPlus;

void s_Graphics_RegisterFunctions				(HSQUIRRELVM v);			

SQInteger s_Graphics_ClearScreen				(HSQUIRRELVM v);
SQInteger s_Graphics_Flip						(HSQUIRRELVM v);
SQInteger s_Graphics_SwitchToFullscreen			(HSQUIRRELVM v);
SQInteger s_Graphics_SwitchToWindowed			(HSQUIRRELVM v);
SQInteger s_Graphics_ToggleFullscreen			(HSQUIRRELVM v);
SQInteger s_Graphics_SetBlendMode				(HSQUIRRELVM v);
SQInteger s_Graphics_GetBlendMode				(HSQUIRRELVM v);
SQInteger s_Graphics_SetGlobalColor				(HSQUIRRELVM v);
SQInteger s_Graphics_GetGlobalColorRed			(HSQUIRRELVM v);
SQInteger s_Graphics_GetGlobalColorGreen		(HSQUIRRELVM v);
SQInteger s_Graphics_GetGlobalColorBlue			(HSQUIRRELVM v);
SQInteger s_Graphics_GetGlobalColorAlpha		(HSQUIRRELVM v);
SQInteger s_Graphics_LoadTexture				(HSQUIRRELVM v);
SQInteger s_Graphics_UnloadTexture				(HSQUIRRELVM v);
SQInteger s_Graphics_LoadFont					(HSQUIRRELVM v);
SQInteger s_Graphics_UnloadFont					(HSQUIRRELVM v);
SQInteger s_Graphics_DrawRect					(HSQUIRRELVM v);
SQInteger s_Graphics_DrawTexture				(HSQUIRRELVM v);
SQInteger s_Graphics_DrawTextureArea			(HSQUIRRELVM v);
SQInteger s_Graphics_DrawText					(HSQUIRRELVM v);
SQInteger s_Graphics_DrawMesh					(HSQUIRRELVM v);
SQInteger s_Graphics_DrawModel					(HSQUIRRELVM v);
SQInteger s_Graphics_DrawCamera					(HSQUIRRELVM v);
SQInteger s_Graphics_DrawSprite					(HSQUIRRELVM v);
SQInteger s_Graphics_TextWidth					(HSQUIRRELVM v);
SQInteger s_Graphics_TextHeight					(HSQUIRRELVM v);
SQInteger s_Graphics_BindTexture				(HSQUIRRELVM v);
SQInteger s_Graphics_PushWorldMatrix			(HSQUIRRELVM v);
SQInteger s_Graphics_PopWorldMatrix				(HSQUIRRELVM v);
SQInteger s_Graphics_TranslateWorld				(HSQUIRRELVM v);
SQInteger s_Graphics_RotateWorldPitch			(HSQUIRRELVM v);
SQInteger s_Graphics_RotateWorldYaw				(HSQUIRRELVM v);
SQInteger s_Graphics_RotateWorldRoll			(HSQUIRRELVM v);
SQInteger s_Graphics_ScaleWorld					(HSQUIRRELVM v);
SQInteger s_Graphics_ResetWorld					(HSQUIRRELVM v);
SQInteger s_Graphics_ResetProjection			(HSQUIRRELVM v);
SQInteger s_Graphics_ProjectX					(HSQUIRRELVM v);
SQInteger s_Graphics_ProjectY					(HSQUIRRELVM v);
SQInteger s_Graphics_SetViewport				(HSQUIRRELVM v);
SQInteger s_Graphics_GetScreenWidth				(HSQUIRRELVM v);
SQInteger s_Graphics_GetScreenHeight			(HSQUIRRELVM v);
SQInteger s_Graphics_Begin2DRendering			(HSQUIRRELVM v);
SQInteger s_Graphics_Begin3DRendering			(HSQUIRRELVM v);
SQInteger s_Graphics_EnableLighting				(HSQUIRRELVM v);
SQInteger s_Graphics_DisableLighting			(HSQUIRRELVM v);
SQInteger s_Graphics_CreateCubeMesh				(HSQUIRRELVM v);
SQInteger s_Graphics_CreatePlaneMesh			(HSQUIRRELVM v);

#endif